<?php
if (count($navlist)) {
	echo "<ul>";
	foreach ($navlist as $id => $name) {
		echo "<li>";
		echo anchor("welcome/product/$id", $name);
		echo "</li>";
	}
	echo "</ul>";
}
?>